#ifndef SHAREHEADER_H
#define SHAREHEADER_H

#include <string>

// transaction type
enum eTransctionType
{
        CONTRACTCREATE = 0,
        CONTRACTMODIFY,
        CONTRACTDELETE,
        TRADEPAYMENT,
        TRADECHARGE,
        USERBALANCELOOKUP,
        USERCONTRACTLOOKUP,
        TRADELOOKUP,
        DATAMAINTENANCE,
        TRADECLEANUP,
        TRADERECORD,
        N_TRANSACTIONS
};

// transaction setting
typedef struct{
        bool isOn;
        int ratio;
}TTranSetting, *PTranSetting;

enum eIncType{
        LINEAR = 0,
        N_INCTYPES
};

// generator config
typedef struct{
        std::string ip;
        bool isOn;
        int userCount;
}TGenConfig, *PGenConfig;

// max gen count
const int MaxGenCount = 10;

#endif // SHAREHEADER_H
